feat(core): run tasks from resource events - #1176
Open
dcramer wants to merge 2 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
July 31, 2026 19:24
c246229 to
085586d
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 1, 2026 04:16
5d630da to
1dcf60b
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 02:20
654c6ae to
f6fd2ef
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 02:31
f6fd2ef to
98f80a3
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 98f80a3. Configure here.
dcramer
force-pushed
the
codex/resource-event-catalog
branch
from
August 2, 2026 02:51
568f4c8 to
0d11df2
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 02:51
98f80a3 to
85e1a1b
Compare
dcramer
force-pushed
the
codex/resource-event-catalog
branch
from
August 2, 2026 03:31
0d11df2 to
c423920
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 03:32
85e1a1b to
f867633
Compare
dcramer
force-pushed
the
codex/resource-event-catalog
branch
from
August 2, 2026 04:26
c423920 to
a23f94b
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 04:28
f867633 to
005cf8e
Compare
dcramer
force-pushed
the
codex/resource-event-catalog
branch
from
August 2, 2026 04:31
a23f94b to
db2d33c
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 04:32
005cf8e to
167edf3
Compare
dcramer
force-pushed
the
codex/resource-event-catalog
branch
from
August 2, 2026 05:06
db2d33c to
7aee0d0
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 05:06
167edf3 to
d839b87
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 05:34
d839b87 to
c1c466d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Built on #1184, Junior can now persist event tasks that execute a durable instruction whenever an enabled plugin publishes a matching resource event. Tasks are scoped to the current Slack channel or DM, can select multiple event types, and allow multiple tasks for the same resource selector. The management tools follow scheduler-style destination permissions and intentionally omit pause and resume operations.
Tasks use the creator's connected credentials by default when the stored work needs user-bound access. Other members of a public destination can manage the task, but they cannot enable or retarget the creator's delegated credentials. Matching events dispatch through the existing durable agent-delivery path, using the task and provider event key for idempotency so webhook replays do not execute a task twice.
The SQL migration, task store, authorization, tools, dispatch path, and event-task evals are contained here. Temporary resource watches, plugin event registration, runtime discovery, and GitHub/Vercel event normalization are reviewed separately in #1184. A code TODO records the remaining circuit-breaker work for runaway event-driven execution rather than imposing an arbitrary execution quota in this change.
Refs #1174